get inverse dict python

39

get inverse dict python -

inv_map = {v: k for k, v in my_map.items()}

Comments

Submit
0 Comments